<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
    document.getElementById('button').click();
    document.getElementById('checkbox').click();
}
window.onload = runRepaintAndPixelTest;
</script>
<style>
#button {
    width: 100px;
    height: 50px;
}
#checkbox {
    width: 30px;
    height: 30px;
}
</style>
<button id="button">Button</button><br>
<input id="checkbox" type="checkbox">
